package com.rmdjzz.slmmn.pojo.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.ser.Serializers;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @作者 张绍鑫
 * @创建时间 2023/6/7
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Love extends Serializers.Base {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer songId;

    public Love(Integer userId, Integer songId) {
        this.userId = userId;
        this.songId = songId;
    }
}
